<?php

use yii\helpers\Html;
use \kartik\detail\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\lenders\models\Lendinvestment */

$this->title = $model->lendInvestID;
$this->params['breadcrumbs'][] = ['label' => 'Lendinvestments', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="lendinvestment-view">

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->lendInvestID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->lendInvestID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'condensed'=>true,
        'mode'=>DetailView::MODE_VIEW,
        'hover'=>true,
        'attributes' => [
                ['columns' => [
                    [
                        'attribute'=>'lendInvestID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'lenderID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'lenderID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
        ],
    ]) ?>

</div>
